home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 1 / MacMania 1.toast / Educational / Sciences / Sol's Neighbors / card_2940.txt < prev    next >
Text File  |  1988-12-15  |  21KB  |  409 lines

  1. -- card: 2940 from stack: in
  2. -- bmap block id: 23185
  3. -- flags: 4000
  4. -- background id: 2608
  5. -- name: TitleCard
  6.  
  7.  
  8. -- part 2 (button)
  9. -- low flags: 80
  10. -- high flags: A003
  11. -- rect: left=198 top=215 right=232 bottom=316
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: 1. Read Data
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   go to last
  23.   ask "Name of data file?" with "Chemistry:Stars"
  24.   if it is empty then exit mouseUp
  25.   put it into fileName
  26.   open file fileName
  27.   repeat
  28.     read from file fileName until return
  29.     if it is empty then exit mouseUp
  30.     doMenu "New Card"
  31.     put the number of characters in it into N
  32.     put 1 into M
  33.     repeat with i = 1 to N
  34.       put character i of it into C
  35.       if C = tab then
  36.         put M + 1 into M
  37.       else
  38.         put C after background field M
  39.       end if
  40.     end repeat
  41.   end repeat
  42. end mouseUp
  43.  
  44.  
  45.  
  46. -- part 5 (button)
  47. -- low flags: 80
  48. -- high flags: A003
  49. -- rect: left=198 top=236 right=253 bottom=316
  50. -- title width / last selected line: 0
  51. -- icon id / first selected line: 0 / 0
  52. -- text alignment: 1
  53. -- font id: 0
  54. -- text size: 12
  55. -- style flags: 0
  56. -- line height: 16
  57. -- part name: 2. Draw Suns
  58. ----- HyperTalk script -----
  59. on mouseUp
  60.   put 456 into i
  61.   put 238 into j
  62.   put 28 into r
  63.   put 230 into s
  64.   put the number of cards - 1 into M
  65.   set the centered to true
  66.   set the pattern to 1  --  white
  67.   repeat with n = 2 to M
  68.     go to card n
  69.     put background field Radius into a
  70.     put the round of (r * a) into b
  71.     put i - b into x
  72.     put j + b into y
  73.     put i && j && r && M && b && x && y into message
  74.     set the filled to true
  75.     choose oval tool
  76.     drag from i,j to x,y with optionKey
  77.     put background field ERadius into a
  78.     put the round of (s * a) into b
  79.     put round(min(b/3,59)) into c
  80.     put i - b into x
  81.     put j + c into y
  82.     put i && j && r && M && b && x && y into message
  83.     set the filled to false
  84.     drag from i,j to x,y with optionKey
  85.     choose select tool
  86.     drag from 490,180 to 512,300
  87.     doMenu "Clear Picture"
  88.     drag from 0,180 to 200,300
  89.     doMenu "Clear Picture"
  90.   end repeat
  91.   choose browse tool
  92. end mouseUp
  93.  
  94.  
  95.  
  96. -- part 8 (button)
  97. -- low flags: 80
  98. -- high flags: A003
  99. -- rect: left=198 top=257 right=274 bottom=316
  100. -- title width / last selected line: 0
  101. -- icon id / first selected line: 0 / 0
  102. -- text alignment: 1
  103. -- font id: 0
  104. -- text size: 12
  105. -- style flags: 0
  106. -- line height: 16
  107. -- part name: 3. Erase Suns
  108. ----- HyperTalk script -----
  109. on mouseUp
  110.   put the number of cards - 1 into M
  111.   repeat with n = 2 to M
  112.     go to card n
  113.     choose select tool
  114.     drag from 0,0 to 512,341
  115.     doMenu "Clear Picture"
  116.   end repeat
  117.   choose browse tool
  118. end mouseUp
  119.  
  120.  
  121.  
  122. -- part 10 (button)
  123. -- low flags: 80
  124. -- high flags: A003
  125. -- rect: left=198 top=278 right=295 bottom=316
  126. -- title width / last selected line: 0
  127. -- icon id / first selected line: 0 / 0
  128. -- text alignment: 1
  129. -- font id: 0
  130. -- text size: 12
  131. -- style flags: 0
  132. -- line height: 16
  133. -- part name: 4. Draw E-view
  134. ----- HyperTalk script -----
  135. on mouseUp
  136.   put 461 into i
  137.   put 79 into j
  138.   put 14 into r
  139.   put 230 into s
  140.   put the number of cards - 1 into M
  141.   set the centered to true
  142.   set the pattern to 1  --  white
  143.   repeat with n = 2 to M
  144.     go to card n
  145.     put background field Radius into a
  146.     put background field ERadius into b
  147.     put (r*a/b) into c
  148.     put round(i-c) into x
  149.     put round(j+c) into y
  150.     put i && j && r && M && b && x && y into message
  151.     set the filled to true
  152.     choose oval tool
  153.     drag from i,j to x,y with optionKey
  154.     choose select tool
  155.     drag from 499,0 to 512,160
  156.     doMenu "Clear Picture"
  157.     drag from 0,0 to 424,160
  158.     doMenu "Clear Picture"
  159.   end repeat
  160.   choose browse tool
  161. end mouseUp
  162.  
  163.  
  164.  
  165. -- part 7 (field)
  166. -- low flags: 81
  167. -- high flags: 2007
  168. -- rect: left=0 top=0 right=342 bottom=512
  169. -- title width / last selected line: 0
  170. -- icon id / first selected line: 0 / 0
  171. -- text alignment: 0
  172. -- font id: 2
  173. -- text size: 10
  174. -- style flags: 0
  175. -- line height: 13
  176. -- part name: HelpScreen
  177. ----- HyperTalk script -----
  178. on mouseUp
  179.   hide card field id 7
  180. end mouseUp
  181.  
  182.  
  183. -- part 12 (field)
  184. -- low flags: 81
  185. -- high flags: 2004
  186. -- rect: left=2 top=31 right=341 bottom=512
  187. -- title width / last selected line: 0
  188. -- icon id / first selected line: 0 / 0
  189. -- text alignment: 0
  190. -- font id: 2
  191. -- text size: 12
  192. -- style flags: 0
  193. -- line height: 16
  194. -- part name: Commercial1
  195. ----- HyperTalk script -----
  196. on mouseUp
  197.   show card field "Commercial2"
  198.   hide card field "Commercial1"
  199. end mouseUp
  200.  
  201.  
  202. -- part 13 (field)
  203. -- low flags: 81
  204. -- high flags: 2004
  205. -- rect: left=2 top=31 right=341 bottom=512
  206. -- title width / last selected line: 0
  207. -- icon id / first selected line: 0 / 0
  208. -- text alignment: 0
  209. -- font id: 2
  210. -- text size: 12
  211. -- style flags: 0
  212. -- line height: 16
  213. -- part name: Commercial2
  214. ----- HyperTalk script -----
  215. on mouseUp
  216.   show card field "Commercial3"
  217.   hide card field "Commercial2"
  218. end mouseUp
  219.  
  220.  
  221. -- part 14 (field)
  222. -- low flags: 81
  223. -- high flags: 2004
  224. -- rect: left=2 top=31 right=341 bottom=512
  225. -- title width / last selected line: 0
  226. -- icon id / first selected line: 0 / 0
  227. -- text alignment: 0
  228. -- font id: 2
  229. -- text size: 12
  230. -- style flags: 0
  231. -- line height: 16
  232. -- part name: Commercial3
  233. ----- HyperTalk script -----
  234. on mouseUp
  235.   show card field "Commercial4"
  236.   hide card field "Commercial3"
  237. end mouseUp
  238.  
  239.  
  240. -- part 15 (field)
  241. -- low flags: 81
  242. -- high flags: 2004
  243. -- rect: left=2 top=31 right=341 bottom=512
  244. -- title width / last selected line: 0
  245. -- icon id / first selected line: 0 / 0
  246. -- text alignment: 0
  247. -- font id: 2
  248. -- text size: 12
  249. -- style flags: 0
  250. -- line height: 16
  251. -- part name: Commercial4
  252. ----- HyperTalk script -----
  253. on mouseUp
  254.   show card field "Commercial5"
  255.   hide card field "Commercial4"
  256. end mouseUp
  257.  
  258.  
  259. -- part 16 (field)
  260. -- low flags: 81
  261. -- high flags: 2004
  262. -- rect: left=2 top=31 right=341 bottom=512
  263. -- title width / last selected line: 0
  264. -- icon id / first selected line: 0 / 0
  265. -- text alignment: 0
  266. -- font id: 2
  267. -- text size: 12
  268. -- style flags: 0
  269. -- line height: 16
  270. -- part name: Commercial5
  271. ----- HyperTalk script -----
  272. on mouseUp
  273.   hide card field "Commercial5"
  274. end mouseUp
  275.  
  276.  
  277. -- part contents for card part 7
  278. ----- text -----
  279.                                              How to use "The Earth's Neighbors" Stack
  280.  
  281.                                                         Developed by John G. Cramer,
  282.                                                Professor of Physics, Univ. Washington,
  283.                              ANALOG "Alternate View" columnist, and author of TWISTOR,
  284.                                       (click on the "Document" button for more details).
  285.  
  286.  
  287.         This stack, copyright 1988 by J. G. Cramer, is semi-freeware.  It may be freely used, duplicated, and passed on, but may NOT be modified, except to correct bugs and to include minor improvements.  In particular, the commerical "message" about my book TWISTOR must be included in all legal copies of this stack.
  288.  
  289.  
  290. WARNING:  This stack, in its pristine state, occupies 85K.  However, it will grow to 88-90K when the plot and/or sort features are used.  Be sure enough disk space is available to accomodate this increase in size.
  291.  
  292.  
  293.         The Sol's Neighbors stack contains organized information about the stars that lie withing 16 light years of the Solar System, the Earth's nearest stellar neighbors.  These stars, though of not much astronomical interest, are important to our future because they are the star systems that will undoubtedly be explored first when our race finally ventures beyond the bounds of our own planetary system.
  294.  
  295. ‚Ä¢     The control eight buttons along the bottom edge of this card are used, respectively, for: [Returning to Home stack] , [Reading the Developer's Message] , [Getting the Location Plot Screen] , [Going forward or back one card] ,  [Getting the Sorting Control Screen] , [Showing all cards in the stack in rapid succession] ,  and  [Getting this Help Screen] .  Click on a button to perform the function.  On most cards there is an "Up-Arrow" button that will return you to the title screen.
  296.  
  297. ‚Ä¢     On the individual star cards, the right and left arrow buttons allow movement forward or backward by one card.  The two oblong buttons along the bottom edge are used, respectively:  (1) For calculating the distance from the first star selected by clicking the button to the second star selected by clicking the button again, and (2) For plotting the location of the present star on the Location Plot Screen.  Such location plots can be accumulated for several stars by using the "Return" button rather than the "Erase" button on the location screen.
  298.  
  299. The data provided on the individual star cards include the following:
  300.  
  301. ‚Ä¢     Names of the stars, using the arcane designations of astronomers, which may refer to the location of the star in a constallation (e.g., Epsilon Eridani) or to a listing in a star catalog (e.g., Groombridge 34 A).  
  302.  
  303. ‚Ä¢     Alpha and Delta are the astronomical polar coordinate angles (the hour angle and the right ascention)  of  the star on the celestial sphere, as seen from the Earth.  By convention the angle Alpha is given in hours and minutes rather than degrees.
  304.  
  305. ‚Ä¢     Parallax is the half-angle of the angular change observed in the star's position as the Earth moves from one side of its yearly orbit to the other side.  Parallax is measured in units of arc seconds, or 1/3600 of a degree.
  306.  
  307. ‚Ä¢     Distance, given in both light years and parsecs, is the distance of the star from the sun.  The parsec unit (= 3.261633 light years) is preferred by astronomers because it can be directly related to the parallax measurements used to find the distance of relatively close stars.  Another distance unit frequently used is the AU (or astonmomical unit).  The AU is the average radius of the Earth's orbit, or the mean distance from the Earth to the Sun.  (1 light year = 6.324 x 10^4 AU)
  308.  
  309. ‚Ä¢     Spectral Class is an astronomical designation which classifies the color (or spectral content)  of the light from the star.  The letters that specify the range of spectral classes, going from the hottest or bluest stars to the coolest or reddest stars,  is given by the sequence "OBAFGKM"  (Mnemonic: Oh Be A Fine Girl, Kiss Me!)   Within this classification a number from 0 to 9 specifies where in the temperature range the particular star lies.  For example an O-zero star at the top of the range (there are none known) would have a temperature of 83,300 K, while an M-9 star at the bottom of the range would have a temperature of 2,500 K.  The designation "wd" indicates a white dwarf, which is taken here to have a temperature of 32,000 K.
  310.  
  311. ‚Ä¢     Proper Motion is the change in arc angle per year by which the star is observed to move on the celestial sphere due to its tangential velocity relative to the Sun.  Typical proper motions are a small fraction of an arc-second per year, but Barnard's Star has a very large proper motion of 10.3"/year.
  312.  
  313. ‚Ä¢     Visual magnitude is the realtive brightness of the star as it appears in the night sky.  The mangitude is represented on a logarithnmic scale, with the stars of largest magnitude being the dimmest while those with smallest magnitude are the brightest.  The visual magnitude depends both on the luminosity (energy output) of the star and on the inverse square of its distance from us.
  314.  
  315. ‚Ä¢    Luminosity is the energy output of the star, relative to the energy output of Sol.  The absolute energy output of our sun is 3.827 x 10^26 watts.  
  316.  
  317. ‚Ä¢     Surface Temperature is the temperature of the stars surface, as estimated from its spectral class.  It is measured in units of degrees Kelvin (K), which is the number of Celsius degrees above absolute zero (0 K).  Absolute zero is -273 K.
  318.  
  319. ‚Ä¢     Radius is the distance from the center of the star to its surface, as estimated (see formulas) from its temperature and luminosity.  Here the radius is given relative to the radius of our sun, so that a star with the same radius as Sol would have a relative radius of 1.0.  The radius of Sol is 6.96 x 10^8 meters.
  320.  
  321. ‚Ä¢     Mass is the mass of the star, as estimated from its surface temperature and luminosity (see formulas).  Here it is given relative to the mass of our sun,so that a star with the same mass as Sol would have a relative mass of 1.0.   The mass of Sol is 5.9742 x 10^30 kg.
  322.  
  323. ‚Ä¢     Density is the mass per unit volume of the star, as calculated from the mass and radius above, using a scale where the density of Sol is 1.0.  The actual density of Sol is 4.23 gm/cm^3 .  (Note that water has a density of 1 gm/cm^3).
  324.  
  325. ‚Ä¢     E-orbit Radius is the orbital radius at which an earth-like planet would haveto be located in order to receive the same amount of light energy from its star as does the Earth in its orbit around the Sun.  For very cool stars most of this light energy would lie in the infra-red.   For white dward stars and large hot stars, a significant fraction of the light energy would lie in the ultra-violet.
  326.  
  327. ‚Ä¢     E-orbit Period is the orbital period of a planet that was in this E-orbit.  In other words, the length of a year on such a world.
  328.  
  329.  
  330. ‚Ä¢     Pictorial displays:
  331.  
  332. ‚Ä¢     Star and E-orbit:  A white disc shows the size of the star relative to that of our own Sun, which is represented on th "Sol" card as a disc about 2 cm in diameter.  Larger and smaller stars are represented by proportionatley larger and smaller discs, down to single pixel size.  Also shown is a white 3:1 ellipse (not to scale) indicating the relative orbital radius of an Earth-like planet, that it, the orbit at which a planet would receive the same quantity of light energy per unit area that is received by the Earth in its orbit around the Sun.  For very large stars (Sirius, Procyon A), this orbit is so large as to be off the diagram.  For very small stars it is so small as to be indistinguishable from the star itself.   It should be emphasized that the ellipse is NOT on the same scale as the solar disc and is a view  of a circular orbit from about 20 degrees  above the orbital plane.   A true-scale drawing showing the sun as a 2 cm diameter disk would require a proportional radius for the Earth's orbit of about 2.14 meters, or well off the Macintosh screen.
  333.  
  334. ‚Ä¢     E-view of Star:  A white disc shows the relative size of the star as it would appear from a planet in an E-orbit, using a scale such that an Earth-view of our Sun  is represented as a 1 cm diameter white disc.  Note that the smaller and dimmer stars would actually appear larger in the sky, while the larger and hotter stars would appear smaller.  The exception to this is the white dwarf stars, which will be very small and bright. (Beware of eye damage to observers!)
  335.  
  336. ‚Ä¢     Location Plot Screen:  A perspective diagram shows the location of the selected star with respect to the equitorial plane of the celestial sphere (also the Earth's equarorial plane).  A square 32 light years on a side is shown, with our sun located at its center.  The position of each star is plotted as a solid horizontal (in plane), vertical (perpendicular distance above or below plane), and a dotted radius vector from Sol to the star of interest.  Plots of several stars may be accumulated by using the "Return" button rather than the "Erase" button when leaving the Plot Screen.
  337.  
  338.  
  339. -- part contents for card part 12
  340. ----- text -----
  341.                  AND NOW  ...   A WORD FROM THE STACK DEVELOPER
  342.                            John G. Cramer, author of TWISTOR
  343.  
  344.      Hello.  I'm  John Cramer.   I wrote this stack, and I'm circulating it as semi-freeware.  It's a nice stack, as I'm sure you'll agree, but, frankly, it's a medium for getting your attention long enough to tell you about my first novel, TWISTOR, which is being published in hardcover in March of 1989 by William Morrow & Co., Inc.   New writers are advised to "write about what you know."  Well, I know physics.  I'm  a Professor of Physics at the University of Washington in Seattle, where I teach and do research.  I also write a bi-monthly science column, "The Alternate View", for ANALOG magazine.
  345.      TWISTOR is set at my university and describes the process of scientific discovery -- its difficulty, its excitement, its importance, its impact.  It's about Vickie, a graduate student, and David, a postdoc, working together on what seems to be fairly standard physics research until they discover an unexpected new phenomenon, the Twistor Effect.  We follow the Twistor Effect from its accidental discovery through to full understanding of its implications, which takes David right out of this universe and into another one.
  346.                                          (click for more)
  347.  
  348.  
  349. -- part contents for card part 13
  350. ----- text -----
  351.      I wrote TWISTOR because it's the kind of hard science fiction story I enjoy reading, the kind I always search for in the SF sections of bookstores and libraries.  It's perhaps obvious that I should like what I write .  However, some of the foremost writers of the science fiction field have recently read TWISTOR.  You may be interested in what they have to say about it:
  352.  
  353.  
  354.      "Finally, the most exciting novel about the cutting  edge of physics since TIMESCAPE.  TWISTOR takes you into the lab and through the world of far-out theory, all in a swooping story of adventure."
  355.                                                                               -- David Brin
  356.  
  357.  
  358.      "A fine hard-science fiction thriller, very enjoyable.  TWISTOR is an auspicious debut for Dr. John Cramer."
  359.                                                                               -- Greg Bear
  360.  
  361.  
  362.                                         (click for more)
  363.  
  364.  
  365. -- part contents for card part 14
  366. ----- text -----
  367.      "TWISTOR is a rare blend of high imagination and fun by a writer who understands how research really works, both on the scientific and the human levels.  It made me feel as if I were back in the lab myself -- and glad to be there."
  368.                                                                               -- Stanley Schmidt
  369.  
  370.  
  371.      "John Cramer's TWISTOR is a wonderful romp through the several universes of real science, from the thin abstraction of particle theory to the grubby, greasy, problem-plagued experimental laboratory, and on to the intricacies of departmental politics and the pitfalls of institutional funding.  Before Cramer has finished telling his ingenious tale, TWISTOR has taken us right out of this world into a plausible universe next door.  The ideas are as startlingly original as anything in the work of Robert Forward or James P. Hogan, with the added attraction of likeable flesh and blood characters and an order of magnitude better storytelling."
  372.                                                                               -- Paul Preuss
  373.  
  374.                                          (click for more)
  375.  
  376.  
  377. -- part contents for card part 16
  378. ----- text -----
  379.      "TWISTOR marks the arrival of a major new science fiction talent.  John Cramer knows science, and people.  He poseses to a phenomenal degree the wit, ingenuity, and soaring imagination all of us hope for; and they make TWISTOR a book no intelligent reader should miss."
  380.                                                                               -- Gene Wolfe
  381.  
  382.      "True hard science fiction -- deftly done, with plenty of fine surprises."
  383.                                                                               -- Gregory Benford
  384.  
  385.  
  386.  
  387.      But you don't have to take the word of these distinguished authors either.  In March, 1989, TWISTOR will be available in hardcover in better bookstores.  Pick up a copy and see for yourself.  Because TWISTOR is a first novel, its press run will be fairly small.  First edition/printings promise to soon become rare collector's items.  So act soon, while copies are still available.
  388.                                                                              John G. Cramer
  389.                                                                                  12/15/88
  390.                                     (click to return to stack)
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397. -- part contents for card part 15
  398. ----- text -----
  399.      "TWISTOR tells an exciting story that employs concepts even more exciting.  Authors who not only know science but practice it are all too rare.  John Cramer's distinguished career as a physicist enables him to give this novel a ring of authenticity, not only scientific, but human."
  400.                                                                               -- Poul Anderson
  401.  
  402.      "John Cramer's first novel has fascinating extrapolation, strong characters, and accelerating suspense.  Once you've read TWISTOR, Cramer will be on your Must-Read list."
  403.                                                                               -- F. M. Busby
  404.  
  405.      "John Cramer's first science fiction novel has two great things going for it.  His scientific background includes degrees in physics, and he has been teaching the subject at university level.  And somehow he also learned to intertwine his far-reaching knowledge with a wonderful, exciting story.  TWISTOR may well be the best SF novel of the year."
  406.                                                                               -- A. E. van Vogt
  407.  
  408.                                          (click for more)
  409.